<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('pay');
0
|| checktplrefresh('./source/plugin/yy_pay/template/pay.htm', './template/default/common/header_ajax.htm', 1533091130, 'yy_pay', './data/template/1_yy_pay_pay.tpl.php', './source/plugin/yy_pay/template', 'pay')
|| checktplrefresh('./source/plugin/yy_pay/template/pay.htm', './template/default/common/footer_ajax.htm', 1533091130, 'yy_pay', './data/template/1_yy_pay_pay.tpl.php', './source/plugin/yy_pay/template', 'pay')
;?>
<?php ob_end_clean();
ob_start();
@header("Expires: -1");
@header("Cache-Control: no-store, private, post-check=0, pre-check=0, max-age=0", FALSE);
@header("Pragma: no-cache");
@header("Content-type: text/xml; charset=".CHARSET);
echo '<?xml version="1.0" encoding="'.CHARSET.'"?>'."\r\n";?><root><![CDATA[<h3 class="flb">
<em id="return_pay">
内容购买</em>
<span>
<a href="javascript:;" class="flbc" onclick="hideWindow('<?php echo $_GET['handlekey'];?>')" title="关闭">关闭</a>
</span>
</h3>
<?php if($credit>=$rs['p_pay']) { ?>
<form method="post" autocomplete="off" id="payform" name="payform" action="plugin.php?id=yy_pay:pay&amp;pid=<?php echo $pid;?>&amp;submit=yes" onsubmit="ajaxpost(this.id, 'floatlayout_<?php echo $_GET['handlekey'];?>');return false;">
<div id="floatlayout_pay">
<div class="c">
<div class="p_c">
<input type="hidden" name="handlekey" value="<?php echo $_GET['handlekey'];?>" />
<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
<input type="hidden" name="referer" value="<?php echo dreferer();?>" />
<input type="hidden" name="cid" value="<?php echo $_GET['cid'];?>" />
<input type="hidden" name="authorid" value="<?php echo $_GET['authorid'];?>" />
</div>
查看此内容需花费<font color="red"><?php echo $rs['p_pay'].$_G['setting']['extcredits'][$cvar['p_credit']]['unit'].$_G['setting']['extcredits'][$cvar['p_credit']]['title'];?></font>
<br />
确定购买该内容吗？
</div>
<div class="o pns" id="moreconf">
<button type="submit" id="paysubmit" class="pn pnc" value="true" name="paysubmit"><span>购买</span></button>
</div>
</div>
</form>
<script>
function succeedhandle_<?php echo $_GET['handlekey'];?>(locationhref, message, param) {
showDialog(message, 'right', '', 'location.href="' + locationhref + '"');
}
</script>
<?php } else { ?>
<div id="floatlayout_pay">
<div class="c altw">
你的积分不足 <?php echo $cvar['p_bcreditinfo'];?>
</div>
    <p class="o pns"><button type="button" class="pn pnc" onclick="hideWindow('<?php echo $_GET['handlekey'];?>');"><strong>关闭</strong></button></p>

</div>
<?php } ?>
<div id="floatlayout_<?php echo $_GET['handlekey'];?>"></div><?php echo output_ajax(); ?>]]></root><?php exit;?>